package com.example.demo.service.serviceimpl;

import com.example.demo.dao.ClassificationViewDao;
import com.example.demo.entity.ClassificationViewEntity;
import com.example.demo.service.ClassificationViewService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class ClassificationViewServiceImpl implements ClassificationViewService {
    @Resource
    ClassificationViewDao classificationViewDao;
    @Override
    public List<ClassificationViewEntity> getClassificationView(int id) {
        return classificationViewDao.getClassificationView(id);
    }

    @Override
    public List<ClassificationViewEntity> getClassificationViewAll() {
        return classificationViewDao.getClassificationViewAll();
    }
}
